home *** CD-ROM | disk | FTP | other *** search
/ Ian & Stuart's Australian Mac: Not for Sale / Another.not.for.sale (Australia).iso / fade into you / getting there / Apps / MOO-1.7.6.src / inc / my-in.h < prev    next >
Text File  |  1994-11-02  |  2KB  |  58 lines

  1. /******************************************************************************
  2.   Copyright (c) 1992 Xerox Corporation.  All rights reserved.
  3.   Portions of this code were written by Stephen White, aka ghond.
  4.   Use and copying of this software and preparation of derivative works based
  5.   upon this software are permitted.  Any distribution of this software or
  6.   derivative works must comply with all applicable United States export
  7.   control laws.  This software is made available AS IS, and Xerox Corporation
  8.   makes no warranty about the software, its performance or its conformity to
  9.   any specification.  Any person obtaining a copy of this software is requested
  10.   to send their name and post office or electronic mail address to:
  11.     Pavel Curtis
  12.     Xerox PARC
  13.     3333 Coyote Hill Rd.
  14.     Palo Alto, CA 94304
  15.     Pavel@Xerox.Com
  16.  *****************************************************************************/
  17.  
  18. #ifndef My_In_H
  19. #define My_In_H 1
  20.  
  21. #include "config.h"
  22.  
  23. #include <netinet/in.h>
  24.  
  25. #if !defined(htonl)  &&  NDECL_HTONL
  26. extern unsigned short    htons();
  27. extern unsigned long    htonl();
  28. extern unsigned short    ntohs();
  29. extern unsigned long    ntohl();
  30. #endif
  31.  
  32. #endif
  33.  
  34. /* $Log: my-in.h,v $
  35.  * Revision 1.7  1993/08/10  20:56:44  pavel
  36.  * Fixed syntax error in default declaration of htonl() and friends.
  37.  *
  38.  * Revision 1.6  1993/08/04  00:11:59  pavel
  39.  * Removed default big-endian definition for htonl() and friends, replacing it
  40.  * with an external function declaration.
  41.  *
  42.  * Revision 1.5  1992/10/23  23:03:47  pavel
  43.  * Added copyright notice.
  44.  *
  45.  * Revision 1.4  1992/10/23  19:28:46  pavel
  46.  * Added protection against multiple inclusions, for systems that aren't
  47.  * clever enough to do that for themselves.
  48.  *
  49.  * Revision 1.3  1992/10/21  03:02:35  pavel
  50.  * Converted to use new automatic configuration system.
  51.  *
  52.  * Revision 1.2  1992/10/04  04:56:05  pavel
  53.  * Removed misplaced declaration for inet_addr().
  54.  *
  55.  * Revision 1.1  1992/07/20  23:23:12  pavel
  56.  * Initial RCS-controlled version.
  57.  */
  58.